package springholamundodiconstructor;

public class Impresora {

    private Hoja papel;

    public void setPapel(Hoja papel) {
        this.papel = papel;
    }

    public void imprimir(){
        System.out.print(papel);
    }
}
